﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace Obra.Test
{
    /// <summary>
    /// Validate HTTP requests have the correct user agent specified.
    /// </summary>
    internal class SmugMugUserAgentValidate :
        IHttpRequestValidate
    {
        #region IHttpRequestValidate Members

        public void Validate(System.Net.HttpListenerRequest request)
        {
            Assert.AreEqual(Obra.Api.Strings.UserAgent, request.UserAgent);
        }

        #endregion
    }
}
